s = False
i = 0
while i != 3 and s == False:
	yhm = input()
	pas = input()
	if (yhm == 'admin' or yhm == 'administrator') and pas == '123456':
		print('登录成功')
		s = True
	else :
		print('登录失败')
		i = i+1